package com.mashibing.service;

import com.mashibing.internalcommon.dto.DriverCarBindingRelationship;
import com.mashibing.internalcommon.dto.ResponseResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 孟瑞达
 * @since 2025-06-18
 */
public interface IDriverCarBindingRelationshipService {

    /**
     * 司机与车辆绑定
     * @param driverCarBindingRelationship
     * @return
     */
    ResponseResult bind(DriverCarBindingRelationship driverCarBindingRelationship);

    /**
     * 司机与车辆解绑
     * @param driverCarBindingRelationship
     * @return
     */
    ResponseResult unBind(DriverCarBindingRelationship driverCarBindingRelationship);

    /**
     * 根据司机手机号查询司机和车辆绑定关系
     * @param driverPhone
     * @return
     */
    ResponseResult<DriverCarBindingRelationship> getDriverCarRelationShipByDriverPhone(String driverPhone);
}
